<script type="text/javascript" src="{%base_url%}resources/tinymce/tiny_mce.js"></script>
<script type="text/javascript">
tinyMCE.init({
   // General options
   mode: "exact",
   elements: "text-content",
   theme: "advanced",
   plugins: "safari,pagebreak,style,table,advhr,advlink,emotions,iespell,inlinepopups,preview,media,searchreplace,contextmenu,paste,directionality,fullscreen,noneditable,visualchars,nonbreaking,xhtmlxtras,images",

   // Theme options
   theme_advanced_buttons1: "bold,italic,underline,strikethrough,|,justifyleft,justifycenter,justifyright,justifyfull,|,formatselect,fontselect,fontsizeselect,|,cut,copy,paste,pastetext,pasteword,|,search,replace",
   theme_advanced_buttons2: "bullist,numlist,|,outdent,indent,blockquote,|,undo,redo,|,link,unlink,anchor,image,images,cleanup,code,|,insertdate,inserttime,preview,|,forecolor,backcolor,|,styleprops,|,cite,abbr,acronym,del,ins,attribs,|,visualchars,nonbreaking,pagebreak",
   theme_advanced_buttons3: "tablecontrols,|,hr,removeformat,visualaid,|,sub,sup,|,charmap,emotions,iespell,media,advhr,|,ltr,rtl,|,fullscreen",
   theme_advanced_toolbar_location: "top",
   theme_advanced_toolbar_align: "left",
   theme_advanced_statusbar_location: "bottom",
   theme_advanced_resizing: true,
   relative_urls: false,
   remove_script_host: false,
   document_base_url: "{%base_url%}",
   external_image_list_url: "{%link[admin_manage_images,jslist]%}"
});
</script>
